net/http.http2Server.now (method)
8 uses
net/http (current package)
h2_bundle.go#L3999: func (s *http2Server) now() time.Time {
h2_bundle.go#L6521: date = rws.conn.srv.now().UTC().Format(TimeFormat)
h2_bundle.go#L6643: if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) {
h2_bundle.go#L6659: st.readDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onReadTimeout)
h2_bundle.go#L6661: st.readDeadline.Reset(deadline.Sub(sc.srv.now()))
h2_bundle.go#L6669: if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) {
h2_bundle.go#L6685: st.writeDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onWriteTimeout)
h2_bundle.go#L6687: st.writeDeadline.Reset(deadline.Sub(sc.srv.now()))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |